package com.base.util.demo;

import android.content.Intent;

import com.base.util.javautils.app.AbstractActivity;
import com.base.util.javautils.observer.IObservable;
import com.base.util.javautils.observer.ObserverFectory;

/**
 * Created by guanj on 16-4-17.
 */
public class DemoBaseActivity extends AbstractActivity {

    private IObservable mObservable;

    @Override
    protected void init() {
        getLogger().flag();
        mObservable = ObserverFectory.createObservable(this, true);
    }

    @Override
    protected void initData(Intent intent) {
        getLogger().flag();
    }

    @Override
    protected void startup() {
        getLogger().flag();
    }

    protected IObservable getObservable() {
        return mObservable;
    }
}
